async function syncDatabase() {
    try {
      await sequelize.sync();
      console.log('All models were synchronized successfully.');
    } catch (error) {
      console.error('Unable to synchronize the database:', error);
    }
  }
  
  syncDatabase();